package com.legoo.studaychineseonline.adapter;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.legoo.studaychineseonline.R;

import java.util.List;

public class ActivityFragmentAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public ActivityFragmentAdapter(int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setBackgroundRes(R.id.iv_pic,R.mipmap.img_ce1);

    }
}
